package cate.game.train.rune.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import cate.game.role.bag.rune.Rune;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "英雄穿徽章の 返回")
public class RuneOnResp implements MsgOutput {

    @NoteField(value = "英雄ID")
    public String heroUid;

    @NoteField(value = "徽章信息")
    public Rune rune;

    @NoteField(value = "部位")
    public byte pos;

    public RuneOnResp(String heroUid, Rune rune, byte pos) {
        this.heroUid = heroUid;
        this.rune = rune;
        this.pos = pos;
    }

    public RuneOnResp() {}

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.HERO_RUNE_ON_RESP;
    }
}
